g++ test.cpp -o test
g++ makedata.cpp -o makedata
g++ std.cpp -o std
:loop
 makedata
 test
 std
 fc std.txt test.txt
 if %errorlevel%==0 goto loop
pause